package com.riant.spring.config;

import com.riant.spring.bean.TestBean;
import org.springframework.context.annotation.Bean;

/**
 * @Classname JavaConfig
 * @Description TODO
 * @Date 2021/5/7 23:41
 * @Created by 张斌
 */
public class JavaConfig {

    @Bean("testBean")
    public TestBean getTestBean(){
        return new TestBean();
    }
}
